package harima.agamengine.loaders;

import harima.agamengine.mapmodel.MapModel;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;


public interface IMapSerializer {

	public File createFile(String fileName)
	throws IOException;
	
	public void writeToFile(String file, MapModel model) 
	throws FileNotFoundException, IOException;

	public MapModel readFromFile(String fileName) 
	throws IOException, ClassNotFoundException;
	
	public String getFileExtension();

	public File[] findMapsInDir(File direcory);
}